/*
 * enc.h
 *
 * Created: 6/13/2013 2:48:08 PM
 *  Author: Tim
 */ 


#ifndef ENC_H_
#define ENC_H_

//use to gain access to status type
#include "../../packets/status.h"

//for access to encoder packet types
#include "../../packets/structs/encPacketStructs.h"

//need this to acess timer information
#include "../tmr/tmr.h"

//used to determine whether the encoder can be placed at the specified location defined by PLOC
status_t encCheckPLOC(encInitAsync_t	*encPacket);

//This function configures the QDEC interface per the packet's specified parameters
void encSetup(encInitAsync_t *encPacket, tmrAlloc_t encTmr);

#endif /* ENC_H_ */